<table width="83%" align="center" cellpadding="0" cellspacing="0">
  <tr class="grayboxheader">
    <td width="14"><img src="{$conf.images_html}/box_left.gif" border="0" width="14"></td>
    <td background="{$conf.images_html}/box_bg.gif">Edit Category</td>
    <td width="14"><img src="{$conf.images_html}/box_right.gif" border="0" width="14"></td>
  </tr>
</table>

<table width="83%" align="center" class="bordered_table">
  {section name="message" show=$message}
    <tr><td class="error"></td></tr>
  {/section}
  <tr>
    <td align="center">
	<form method="POST" action="{$conf.html}/edit_category.php">
    <input type="hidden" name="mode" value="{$data.mode}">
    <input type="hidden" name="sid" value="{$data.sid}">
	<input type="hidden" name="cid" value="{$category.cid}">
      <div style="text-align:left" class="whitebox">Edit Category</div>

      <div style="text-align:left" class="indented_cell">
	    <input type="text" name="category" size="50" value="{$category.category}" >
      </div>

        <div style="text-align:left" class="whitebox"> 
          <p>{$conf.html}/survey.php?ccat={$category.cid}</p>
          <p>Status</p>
        </div>

      <div style="text-align:left" class="indented_cell">
        <input type="radio" name="active" value="1"{$category.active_selected}>Active
        &nbsp;
        <input type="radio" name="active" value="0"{$category.inactive_selected}>Inactive
      </div>
	  <br>
	  
      <div style="text-align:left" class="indented_cell">
	  <strong>Exit Way</strong> <br>
       <select name="salida">
	      <option value="pub" {$category.pub_selected}>Publica</option>
		  <option value="pri" {$category.pri_selected}>Privada</option>
		  
       </select>
      </div>
      <br />

      <div style="text-align:center">
        <input type="submit" name="btn_edit" value="Edit Category">
      </div>
    </form>
    </td>
  </tr>
  <td style="text-align:center;">
      [ <a href="{$conf.html}">Main</a> ]
    </td>
</table>
